import { get,post } from "../../utils/request";
// 详情
const getDetails=(id:number)=>{
    return get('api/visit/department/show',{id})
}
// 修改
const postUp=(id:number,params:any)=>{
     return post('api/visit/department/edit',{id:id,formdata:params})
}
export {getDetails,postUp}